import { BrowserRouter, Link, NavLink, Routes, Route, useNavigate, useSearchParams, useParams, Outlet, } from "react-router-dom";

import Home from "@/pages/home";
import RouterPage from "@/pages/router";
import HookPage from "@/pages/hook";

const RoutesCom = () => {
    return (<>
        <Routes>
            <Route path="/" element={<Home />}></Route>
            <Route path="/router" element={<RouterPage />}></Route>
            <Route path="/hook" element={<HookPage />}></Route>
        </Routes>
    </>)
}

export default RoutesCom;